<?php use_helper('I18N') ?>
<div id="login-box" title="<?php echo __("Introduzca los datos del usuario")?>">
		<form action="<?php echo url_for('@sf_guard_signin') ?>" method="post" id="formLogin">
  			<?php echo $form->renderGlobalErrors() ?>
  			<?php include_slot('encabezadoLogin')?>		
  			<table>
    			<tbody>
      				<tr>
      				  <td colspan="2"><?php echo $form['username']->renderError() ?></td>
      				</tr>
      				<tr>
        				<th><?php echo $form['username']->renderLabel() ?> *: </th>
        				<td>
          					<?php echo $form['username'] ?> 
        				</td>
      				</tr>
      				<tr>
      				  <td colspan="2"><?php echo $form['password']->renderError() ?></td>
      				</tr>
      				<tr>
        				<th><?php echo $form['password']->renderLabel() ?> *: </th>
        				<td>
          					<?php echo $form['password'] ?> 
        				</td>
      				</tr>
      				<tr>
        				<th><?php echo $form['remember']->renderLabel() ?></th>
        				<td>
          					<?php echo $form['remember'] ?> 
        				</td>
      				</tr>
        	    </tbody>
    			<tfoot>
     			 <tr>
        			<td colspan="2">
	        			<?php $form = new BaseForm(); if ($form->isCSRFProtected()): ?>
						    <input type="hidden" name="<?php echo $form->getCSRFFieldName() ?>" value="<?php echo $form->getCSRFToken() ?>" />
						<?php endif; ?>
          				<?php if (isset($routes['sf_guard_forgot_password'])): ?>
          				  <a href="<?php echo url_for('@sf_guard_forgot_password') ?>"><?php echo __('Forgot your password?', null, 'sf_guard') ?></a>
         				<?php endif; ?>
          				<?php if (isset($routes['sf_guard_register'])): ?>
            				&nbsp; <a href="<?php echo url_for('@sf_guard_register') ?>"><?php echo __('Want to register?', null, 'sf_guard') ?></a>
          				<?php endif; ?>
        			</td>
      			</tr>
    			</tfoot>
  			</table>
		</form>
</div>




